[INFO] cloning repository https://github.com/ZhuJiaqi9905/leetcode_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ZhuJiaqi9905/leetcode_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZhuJiaqi9905%2Fleetcode_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZhuJiaqi9905%2Fleetcode_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 41a9c48acc39e7ea286f98e18613b2654ff285be
[INFO] building ZhuJiaqi9905/leetcode_rust against try#3bbb5242a8064de4ca3af4036745ddf603ddaa85 for pr-101929
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZhuJiaqi9905%2Fleetcode_rust" "/workspace/builds/worker-3/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ZhuJiaqi9905/leetcode_rust on toolchain 3bbb5242a8064de4ca3af4036745ddf603ddaa85
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/ZhuJiaqi9905/leetcode_rust
[INFO] finished tweaking git repo https://github.com/ZhuJiaqi9905/leetcode_rust
[INFO] tweaked toml for git repo https://github.com/ZhuJiaqi9905/leetcode_rust written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/ZhuJiaqi9905/leetcode_rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a7f44e880bb7449b4a81385d9890bcec4ed737ad5f1c4a756f8d5f2e7d235842
[INFO] running `Command { std: "docker" "start" "-a" "a7f44e880bb7449b4a81385d9890bcec4ed737ad5f1c4a756f8d5f2e7d235842", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a7f44e880bb7449b4a81385d9890bcec4ed737ad5f1c4a756f8d5f2e7d235842", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a7f44e880bb7449b4a81385d9890bcec4ed737ad5f1c4a756f8d5f2e7d235842", kill_on_drop: false }`
[INFO] [stdout] a7f44e880bb7449b4a81385d9890bcec4ed737ad5f1c4a756f8d5f2e7d235842
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1834facb21d6ea631d54c4ccdf496df2250223234262e5f65e951d4f3fc968a3
[INFO] running `Command { std: "docker" "start" "-a" "1834facb21d6ea631d54c4ccdf496df2250223234262e5f65e951d4f3fc968a3", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.124
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling getrandom v0.2.6
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling leetcode v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `core::num`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::num;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::Ordering`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::cmp::Ordering;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::BinaryHeap`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::collections::BinaryHeap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::mem;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]   --> src/main.rs:59:8
[INFO] [stdout]    |
[INFO] [stdout] 59 | struct Solution;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/main.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 |     fn new(val: i32) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `search_insert` is never used
[INFO] [stdout]   --> src/main.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 39 |     pub fn search_insert(nums: Vec<i32>, target: i32) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `left_bound` is never used
[INFO] [stdout]   --> src/main.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn left_bound(nums: &[i32], target: i32) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 11.42s
[INFO] running `Command { std: "docker" "inspect" "1834facb21d6ea631d54c4ccdf496df2250223234262e5f65e951d4f3fc968a3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1834facb21d6ea631d54c4ccdf496df2250223234262e5f65e951d4f3fc968a3", kill_on_drop: false }`
[INFO] [stdout] 1834facb21d6ea631d54c4ccdf496df2250223234262e5f65e951d4f3fc968a3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bc326de40a53972549aabaa7a318d74f389d10c1f844726b7e72de9cb9c5b117
[INFO] running `Command { std: "docker" "start" "-a" "bc326de40a53972549aabaa7a318d74f389d10c1f844726b7e72de9cb9c5b117", kill_on_drop: false }`
[INFO] [stderr]    Compiling leetcode v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Ref`
[INFO] [stdout]  --> examples/112e_path_sum.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cell::{Ref, RefCell};
[INFO] [stdout]   |                 ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]  --> examples/112e_path_sum.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::HashSet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter::FromIterator`
[INFO] [stdout]  --> examples/112e_path_sum.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::iter::FromIterator;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid character `' '` in crate name: `341m_ flatten_nested_list_iterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `leetcode` due to 2 previous errors
[INFO] [stdout] warning: unused import: `Ref`
[INFO] [stdout]  --> examples/94e_binary_tree_inorder_traversal.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cell::{Ref, RefCell};
[INFO] [stdout]   |                 ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]  --> examples/94e_binary_tree_inorder_traversal.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::HashSet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter::FromIterator`
[INFO] [stdout]  --> examples/94e_binary_tree_inorder_traversal.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::iter::FromIterator;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]   --> examples/112e_path_sum.rs:53:8
[INFO] [stdout]    |
[INFO] [stdout] 53 | struct Solution;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `has_path_sum` is never used
[INFO] [stdout]   --> examples/112e_path_sum.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub fn has_path_sum(root: Option<Rc<RefCell<TreeNode>>>, target_sum: i32) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `dfs` is never used
[INFO] [stdout]   --> examples/112e_path_sum.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn dfs(root: Rc<RefCell<TreeNode>>, target_sum: i32, mut sum: i32, ans: &mut bool) {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]   --> examples/94e_binary_tree_inorder_traversal.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 38 | struct Solution;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `inorder_traversal` is never used
[INFO] [stdout]   --> examples/94e_binary_tree_inorder_traversal.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub fn inorder_traversal(root: Option<Rc<RefCell<TreeNode>>>) -> Vec<i32> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `dfs` is never used
[INFO] [stdout]   --> examples/94e_binary_tree_inorder_traversal.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn dfs(root: Option<Rc<RefCell<TreeNode>>>, ans: &mut Vec<i32>) {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Ref`
[INFO] [stdout]  --> examples/988m_smallest_string_starting_from_leaf.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cell::{Ref, RefCell};
[INFO] [stdout]   |                 ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]  --> examples/988m_smallest_string_starting_from_leaf.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::HashSet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter::FromIterator`
[INFO] [stdout]  --> examples/988m_smallest_string_starting_from_leaf.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::iter::FromIterator;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::num`
[INFO] [stdout]  --> examples/108e_convert_sorted_array_to_binary_search_tree.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::num;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::Ordering`
[INFO] [stdout]  --> examples/108e_convert_sorted_array_to_binary_search_tree.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::cmp::Ordering;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::BinaryHeap`
[INFO] [stdout]  --> examples/108e_convert_sorted_array_to_binary_search_tree.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::collections::BinaryHeap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem`
[INFO] [stdout]  --> examples/108e_convert_sorted_array_to_binary_search_tree.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::mem;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Solution`
[INFO] [stdout]   --> examples/951m_flip_equivalent_binary_trees.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |         Solution::dfs(root1, root2)
[INFO] [stdout]    |         ^^^^^^^^ use of undeclared type `Solution`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Solution`
[INFO] [stdout]   --> examples/951m_flip_equivalent_binary_trees.rs:41:17
[INFO] [stdout]    |
[INFO] [stdout] 41 |         return (Solution::dfs(root1.borrow().left.clone(), root2.borrow().left.clone())
[INFO] [stdout]    |                 ^^^^^^^^ use of undeclared type `Solution`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Solution`
[INFO] [stdout]   --> examples/951m_flip_equivalent_binary_trees.rs:42:16
[INFO] [stdout]    |
[INFO] [stdout] 42 |             && Solution::dfs(root1.borrow().right.clone(), root2.borrow().right.clone()))
[INFO] [stdout]    |                ^^^^^^^^ use of undeclared type `Solution`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Solution`
[INFO] [stdout]   --> examples/951m_flip_equivalent_binary_trees.rs:43:17
[INFO] [stdout]    |
[INFO] [stdout] 43 |             || (Solution::dfs(root1.borrow().left.clone(), root2.borrow().right.clone())
[INFO] [stdout]    |                 ^^^^^^^^ use of undeclared type `Solution`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Solution`
[INFO] [stdout]   --> examples/951m_flip_equivalent_binary_trees.rs:44:20
[INFO] [stdout]    |
[INFO] [stdout] 44 |                 && Solution::dfs(root1.borrow().right.clone(), root2.borrow().left.clone()));
[INFO] [stdout]    |                    ^^^^^^^^ use of undeclared type `Solution`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Ref`
[INFO] [stdout]  --> examples/653e_two_sum_IV_input_is_a_bst.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cell::{Ref, RefCell};
[INFO] [stdout]   |                 ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]  --> examples/653e_two_sum_IV_input_is_a_bst.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::HashSet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Solution` in this scope
[INFO] [stdout]   --> examples/951m_flip_equivalent_binary_trees.rs:22:6
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl Solution {
[INFO] [stdout]    |      ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter::FromIterator`
[INFO] [stdout]  --> examples/653e_two_sum_IV_input_is_a_bst.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::iter::FromIterator;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `951m_flip_equivalent_binary_trees`
[INFO] [stdout]   --> examples/951m_flip_equivalent_binary_trees.rs:46:2
[INFO] [stdout]    |
[INFO] [stdout] 46 | }
[INFO] [stdout]    |  ^ consider adding a `main` function to `examples/951m_flip_equivalent_binary_trees.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]   --> examples/114m_flatten_binary_tree_to_linked_list.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | struct Solution;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `flatten` is never used
[INFO] [stdout]   --> examples/114m_flatten_binary_tree_to_linked_list.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub fn flatten(root: &mut Option<Rc<RefCell<TreeNode>>>) {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]   --> examples/1339m_maximum_product_of_splitted_binary_tree.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | struct Solution;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `max_product` is never used
[INFO] [stdout]   --> examples/1339m_maximum_product_of_splitted_binary_tree.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub fn max_product(root: Option<Rc<RefCell<TreeNode>>>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get_sum` is never used
[INFO] [stdout]   --> examples/1339m_maximum_product_of_splitted_binary_tree.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 |     fn get_sum(root: Option<Rc<RefCell<TreeNode>>>, tree_sum: i32, max_product: &mut i64) -> i32 {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> examples/1373h_maximum_sum_BST_in_binary_tree.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let mut node3 = TreeNode::new(-5);
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: crate `1373h_maximum_sum_BST_in_binary_tree` should have a snake case name
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout]   = help: convert the identifier to snake case: `1373h_maximum_sum_bst_in_binary_tree`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]   --> examples/988m_smallest_string_starting_from_leaf.rs:58:8
[INFO] [stdout]    |
[INFO] [stdout] 58 | struct Solution;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `smallest_from_leaf` is never used
[INFO] [stdout]   --> examples/988m_smallest_string_starting_from_leaf.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub fn smallest_from_leaf(root: Option<Rc<RefCell<TreeNode>>>) -> String {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `dfs` is never used
[INFO] [stdout]   --> examples/988m_smallest_string_starting_from_leaf.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn dfs(root: Option<Rc<RefCell<TreeNode>>>, tmp_str: &mut Vec<u8>, ans: &mut String) {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]   --> examples/108e_convert_sorted_array_to_binary_search_tree.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 62 | struct Solution;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0601.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> examples/108e_convert_sorted_array_to_binary_search_tree.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 |     fn new(val: i32) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `sorted_array_to_bst` is never used
[INFO] [stdout]   --> examples/108e_convert_sorted_array_to_binary_search_tree.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 39 |     pub fn sorted_array_to_bst(nums: Vec<i32>) -> Option<Rc<RefCell<TreeNode>>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `leetcode` due to 8 previous errors
[INFO] [stdout] warning: associated function `build` is never used
[INFO] [stdout]   --> examples/108e_convert_sorted_array_to_binary_search_tree.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn build(nums: &[i32]) -> Option<Rc<RefCell<TreeNode>>> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]   --> examples/653e_two_sum_IV_input_is_a_bst.rs:53:8
[INFO] [stdout]    |
[INFO] [stdout] 53 | struct Solution;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `find_target` is never used
[INFO] [stdout]   --> examples/653e_two_sum_IV_input_is_a_bst.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub fn find_target(root: Option<Rc<RefCell<TreeNode>>>, k: i32) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `dfs` is never used
[INFO] [stdout]   --> examples/653e_two_sum_IV_input_is_a_bst.rs:43:8
[INFO] [stdout]    |
[INFO] [stdout] 43 |     fn dfs(root: Option<Rc<RefCell<TreeNode>>>, ans: &mut Vec<i32>) {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: crate `653e_two_sum_IV_input_is_a_bst` should have a snake case name
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout]   = help: convert the identifier to snake case: `653e_two_sum_iv_input_is_a_bst`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "bc326de40a53972549aabaa7a318d74f389d10c1f844726b7e72de9cb9c5b117", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bc326de40a53972549aabaa7a318d74f389d10c1f844726b7e72de9cb9c5b117", kill_on_drop: false }`
[INFO] [stdout] bc326de40a53972549aabaa7a318d74f389d10c1f844726b7e72de9cb9c5b117
